/**
 * @Project Name:spailler
 * @Package Name:cn.hoofungson.spailler.web.controller.hello
 * @Since JDK 1.8
 */
package cn.hoofungson.spailler.web.controller.hello;

import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

/**
 * @Description: Hello控制器
 * @Author 胡松 hoofungson@163.com
 * @Date 2018-08-31 11:56
 * @Version V1.0
 */
@RestController
@RequestMapping(value = "/rest/api/hello")
public class HelloController {

    @GetMapping
    public String hello(){
        return "Hello, World!";
    }
}
